<script lang="ts" setup>
const route = useRoute()
const iframeSrc = computed(() => {
	return `http://localhost:8080/?mode=${route.query.mode}`
})
</script>
<template>
	<iframe
		:src="iframeSrc"
		frameborder="0"
	/>
</template>

<style lang="scss" scoped>
iframe {
	width: 100%;
	height: 100%;
}
</style>
